package com.victualler.core.base.dao;

import javax.persistence.MappedSuperclass;
import java.io.Serializable;

/**
 * @Author: Guoshichang
 * @Date: Create in 17:23 2018-05-06
 * @Discription: 为子表对象提供额外的字段以及对应的字段属性
 */
@MappedSuperclass
public class BaseDetailDao extends BaseDao implements Serializable{
    private Long parentId; //对应父表id

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
}
